/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-spi
 * Filename：	SRepairRecord.java
 * Created：		2016年9月13日
 * Creator：		wolv
 */
package com.thor.palmmall.rest.repair;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.thor.commons.entity.UCN;
import com.thor.palmmall.rest.common.ASubjectWithDirection;

/**
 * @author wolv
 *
 */
public class ARepairRecord implements Serializable {
  private static final long serialVersionUID = -3728020612291904988L;

  /** 是否收人工费 */
  private boolean artificialFeeCharge;
  /** 是否收取物料费 */
  private boolean materialFeeCharge;
  /** 是否收取配件费 */
  private boolean partsFeeCharge;
  /** 人工费 */
  private BigDecimal artificialFee;
  /** 配件费 */
  private BigDecimal partsFee;
  /** 人工费科目 */
  private ASubjectWithDirection artificalSubject;
  /** 配件费科目 */
  private ASubjectWithDirection partsSubject;
  /** 过程记录 */
  private List<AProcessRecord> processes = new ArrayList<AProcessRecord>();
  /** 物料费用明细 */
  private List<AFeeRecord> feeRecords = new ArrayList<AFeeRecord>();
  /** 维修人列表 */
  private List<UCN> servicemans = new ArrayList<UCN>();

  public boolean isArtificialFeeCharge() {
    return artificialFeeCharge;
  }

  public void setArtificialFeeCharge(boolean artificialFeeCharge) {
    this.artificialFeeCharge = artificialFeeCharge;
  }

  public boolean isMaterialFeeCharge() {
    return materialFeeCharge;
  }

  public void setMaterialFeeCharge(boolean materialFeeCharge) {
    this.materialFeeCharge = materialFeeCharge;
  }

  public BigDecimal getArtificialFee() {
    return artificialFee;
  }

  public void setArtificialFee(BigDecimal artificialFee) {
    this.artificialFee = artificialFee;
  }

  public List<AProcessRecord> getProcesses() {
    return processes;
  }

  public void setProcesses(List<AProcessRecord> processes) {
    this.processes = processes;
  }

  public List<UCN> getServicemans() {
    return servicemans;
  }

  public void setServicemans(List<UCN> servicemans) {
    this.servicemans = servicemans;
  }

  public boolean isPartsFeeCharge() {
    return partsFeeCharge;
  }

  public void setPartsFeeCharge(boolean partsFeeCharge) {
    this.partsFeeCharge = partsFeeCharge;
  }

  public BigDecimal getPartsFee() {
    return partsFee;
  }

  public void setPartsFee(BigDecimal partsFee) {
    this.partsFee = partsFee;
  }

  public ASubjectWithDirection getArtificalSubject() {
    return artificalSubject;
  }

  public void setArtificalSubject(ASubjectWithDirection artificalSubject) {
    this.artificalSubject = artificalSubject;
  }

  public ASubjectWithDirection getPartsSubject() {
    return partsSubject;
  }

  public void setPartsSubject(ASubjectWithDirection partsSubject) {
    this.partsSubject = partsSubject;
  }

  public List<AFeeRecord> getFeeRecords() {
    return feeRecords;
  }

  public void setFeeRecords(List<AFeeRecord> feeRecords) {
    this.feeRecords = feeRecords;
  }

}
